package com.cx.webpay.model;

import java.io.Serializable;

import com.cx.webpay.util.IDUtil;

/**
 * 文件消息实体信息
 */
public class FileVo implements Serializable {
	
	private static final long serialVersionUID = 1L;
	/**唯一主键*/
	private String id=String.valueOf(IDUtil.nextId());
	/**文件id*/
	private String fileId;
	/**原文件名称*/
	private String fileName;
	/**文件保存路径*/
	private String path;
	/**文件扩展名*/
	private String ext;
	/**文件大小*/
	private String size;
	/**文件处理类型 原文件为0*/
	private String doType;
	/**处理后父文件id*/
	private String parentId;
	/**状态 默认使用*/
	private Integer status=1;
	/**创建时间*/
	private String createTime;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getFileId() {
		return fileId;
	}
	public void setFileId(String fileId) {
		this.fileId = fileId;
	}
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
	public String getExt() {
		return ext;
	}
	public void setExt(String ext) {
		this.ext = ext;
	}
	public String getSize() {
		return size;
	}
	public void setSize(String size) {
		this.size = size;
	}
	public String getDoType() {
		return doType;
	}
	public void setDoType(String doType) {
		this.doType = doType;
	}
	public String getParentId() {
		return parentId;
	}
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	
	@Override
	public String toString() {
		return "FileVo [id=" + id + ", fileId=" + fileId + ", fileName=" + fileName + ", path=" + path + ", ext=" + ext
				+ ", size=" + size + ", doType=" + doType + ", parentId=" + parentId + ", createTime=" + createTime
				+ "]";
	}
	


}
